package com.rfid.analysis;

/**
 * @author Administrator
 * @date 2020/9/16
 * 消息处理者，采用责任链模式，方便拓展
 */
public abstract class Handler {
    protected boolean logOpen = false;
    private Handler next;

    public Handler getNext() {
        return next;
    }

    public void setNext(Handler next) {
        this.next = next;
    }

    public abstract void handleRequest(Message request);

}